<?php

/**
 * trayectoria actions.
 *
 * @package    sanziniafilms
 * @subpackage index
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class trayectoriaActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeIndex(sfWebRequest $request)
  {
	$query = Doctrine::getTable('Trayectoria')->createQuery('a')
		->orderBy('a.anyo DESC');
	$this->list = $query->execute();
	$this->getResponse()->setTitle("Trayectoria | Sanzinia Films");
  }
}
